﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using RBAC;
using Solution.AppCode;

namespace Solutions.Admin.Report
{
    public partial class Default1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            ReportViewer1.Report = CreateReport();
        }
        public DevExpress.XtraReports.UI.XtraReport CreateReport()
        {

            rp_baocaonguoidung rpBaocaonguoidung = new rp_baocaonguoidung();
            NguoiDungLogic nguoiDungLogic = new NguoiDungLogic();

            rpBaocaonguoidung.BindData(nguoiDungLogic.GetListPaging("pk_iNguoIDungID","DESC","", UtilsData.GetUserId().ToString()));
            return rpBaocaonguoidung;
        }
    }
}